//
//  GoodsTypeView.h
//  AddShoppingCartDemo
//
//  Created by Jim1024 on 2016/12/23.
//  Copyright © 2016年 Jim1024. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol GoodsTypeViewDelegete <NSObject>

-(void)selectButtonIndex:(NSInteger)index;

@end

@interface GoodsTypeView : UIView

- (instancetype)initWithFrame:(CGRect)frame datasource:(NSArray *)dataArr typeName:(NSString *)typeName;

@property (nonatomic, assign) CGFloat viewHeight; // 视图高度
@property (nonatomic, assign) NSInteger seletIndex;
@property (nonatomic, weak) id<GoodsTypeViewDelegete> delegate;

@end
